import { GSprite } from "../../../../../../../com/mui/controls/GSprite";
import { ComposeJewelMode } from "./ComposeJewelMode";
import { ObjCreate } from "../../../../common/ObjCreate";
type int = number;
//class ComposeJewelChangeBtn
    
    export  class ComposeJewelChangeBtn extends GSprite
    {
        constructor(arg1: int)
        {
            super();
            this._mode = arg1;
            this.initUI();
            this.buttonMode = true;
            return;
        }

        /* internal  */initUI(): void
        {
            if (this._mode != ComposeJewelMode.ModeNormal) 
            {
                ObjCreate.createLoadedBitmap("composeJewel_backToNomal.png", 0, 0, this);
            }
            else 
            {
                ObjCreate.createLoadedBitmap("composeJewel_backToOneKey.png", 0, 0, this);
            }
            return;
        }

        /* internal */ /* var */_mode: int;

        /* internal */ /* var */_btn: Object /* flash.display.Bitmap */;
    }
